package io.renren.modules.echarts.dao;

import io.renren.modules.echarts.entity.*;
import io.renren.modules.jxgk.entity.TeacherCourseContentEntity;
import io.renren.modules.jxgk.entity.TeacherEvaluationSumEntity;
import io.renren.modules.jxgkphone.entity.EvaluationContent;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface TeacherEvaluationChartsDao extends BaseDao<TeacherEvaluationSumEntity>{
    List<EvaluationContent> findAllEvaluationContentList(Map<String, Object> map);

    List<TeacherEvaltionPieEntity> getTeacherEvaltionPie(Map<String, Object> params);

    List<EchartsDate> getEvaltionType();

    List<String> getEvaltionCount(Map<String, Object> params);

    List<EchartsDate> getEvaltionLevel();

    PieEntity getiMatchContentRate(Map<String, Object> params);

    List<AttendenceRate> getAverageTeacheingTimeRanking(Map<String, Object> params);

    List<TeachingRate> getCollegeTeacheingRanking(Map<String, Object> params);

    List<AttendenceRate> getTeacherWorkTimeRate(Map<String, Object> params);

    String getTeacherWorkEcharts(Map<String, Object> params);

    Double getAverageTime();
}
